<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <title>Timings</title>
  <script>
  window.performance.mark('start');
  </script>
  <link href="css/main.css" media="all" rel="stylesheet">
  <script type="text/javascript" src="js/jquery-2.1.4.min.js"></script>
</head>
<body>
  <p>Hello!</p>
  <img src="img/santa.png" onload="window.performance.mark('santaLoaded');">

  <script>
  window.performance.mark('stop');
  window.performance.measure('time', 'start', 'stop');
  </script>

</body>
</html>
